package com.ruoyi.projects.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单详情记录对象 sl_order_detail
 * 
 * @author yangz
 * @date 2024-10-23
 */
public class SlOrderDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预约记录id */
    private Long id;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;

    /** 客户id */
    @Excel(name = "客户id")
    private Long customId;

    /** 产品id */
    @Excel(name = "产品id")
    private Long productId;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 服务次数 */
    @Excel(name = "服务次数")
    private Integer serviceTimes;

    /** 剩余服务次数 */
    @Excel(name = "剩余服务次数")
    private Integer serviceLeftTimes;

    /** 服务进程（0未开始，1持续中，2服务结束） */
    @Excel(name = "服务进程", readConverterExp = "0=未开始，1持续中，2服务结束")
    private String serviceStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setCustomId(Long customId) 
    {
        this.customId = customId;
    }

    public Long getCustomId() 
    {
        return customId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setServiceTimes(Integer serviceTimes) 
    {
        this.serviceTimes = serviceTimes;
    }

    public Integer getServiceTimes() 
    {
        return serviceTimes;
    }
    public void setServiceLeftTimes(Integer serviceLeftTimes) 
    {
        this.serviceLeftTimes = serviceLeftTimes;
    }

    public Integer getServiceLeftTimes() 
    {
        return serviceLeftTimes;
    }
    public void setServiceStatus(String serviceStatus) 
    {
        this.serviceStatus = serviceStatus;
    }

    public String getServiceStatus() 
    {
        return serviceStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("customId", getCustomId())
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("serviceTimes", getServiceTimes())
            .append("serviceLeftTimes", getServiceLeftTimes())
            .append("serviceStatus", getServiceStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
